package com.example.demo.dubbo.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.demo.domain.City;
import com.example.demo.dubbo.CityDubboService;

@Service(version = "1.0.0")
public class CityDubboServiceImpl implements CityDubboService{
    @Override
    public City findCityByName(String cityName) {
        return new City(1L,2L,"重庆","是我的故乡");
    }
}
